package com.gonsin.gview.logic.websocket;

public class GViewCmd {

    public static class Cmd {
        public static final String GVIEW_CLIENT = "gview_client";           // 前端发送


        public static final String DATA = "data";           // 数据变更
    }


    public static class SubCmd {

        // client 的消息
        public static final String REGISTER = "register";       // 注册指令
        public static final String HEART = "heart";             // 心跳指令
        public static final String UNREGISTER = "unregister";       // 注销指令


        // data 的消息
        public static final String UPDATE = "update";           // 数据有更新

    }

}
